package cn.lijigou.shopping.domain;

import java.io.Serializable;

import android.graphics.drawable.Drawable;

/**
 * @author ���=� E-mail:dong_yong_jian@163.com
 * @version CreatTime��2011-4-14 ����02:55:25
 * ��˵��
 */
public class Order implements Serializable{
	private static final long serialVersionUID = -7060210544600464482L;
	private String order_sn;
	private String tuan_site;
	private String buy_time;
	private String pay_status;
	
	private String total_price;
	private String quantity;
	private String expire_time;
	private String tuan_title;
	private String image;
	
	private String name;
	private String address;
	private String mobile;
	private String editId;
	
	private String id;
	private String tuan_id;
	private String price;
	private int cpsState;
	private Drawable drawable;
	
//	code_sn 优惠码
//	code_status 优惠码状态1可用，0无用
//	code_money 优惠码金额
//	code_errmsg 优惠码无效的状态信息

	private String code_sn;
	private String code_status;
	private String code_money;
	private String code_errmsg;
	
	private int buy_start_time;
	private int buy_end_time;
	
	
	
	
	public int getBuy_start_time() {
		return buy_start_time;
	}
	public void setBuy_start_time(int buyStartTime) {
		buy_start_time = buyStartTime;
	}
	public int getBuy_end_time() {
		return buy_end_time;
	}
	public void setBuy_end_time(int buyEndTime) {
		buy_end_time = buyEndTime;
	}
	public String getCode_sn() {
		return code_sn;
	}
	public void setCode_sn(String codeSn) {
		code_sn = codeSn;
	}
	public String getCode_status() {
		return code_status;
	}
	public void setCode_status(String codeStatus) {
		code_status = codeStatus;
	}
	public String getCode_money() {
		return code_money;
	}
	public void setCode_money(String codeMoney) {
		code_money = codeMoney;
	}
	public String getCode_errmsg() {
		return code_errmsg;
	}
	public void setCode_errmsg(String codeErrmsg) {
		code_errmsg = codeErrmsg;
	}
	public Drawable getDrawable() {
		return drawable;
	}
	public void setDrawable(Drawable drawable) {
		this.drawable = drawable;
	}
	public int getCpsState() {
		return cpsState;
	}
	public void setCpsState(int cpsState) {
		this.cpsState = cpsState;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getTotal_price() {
		return total_price;
	}
	public void setTotal_price(String totalPrice) {
		total_price = totalPrice;
	}
	public String getQuantity() {
		return quantity;
	}
	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}
	public String getTuan_id() {
		return tuan_id;
	}
	public void setTuan_id(String tuanId) {
		tuan_id = tuanId;
	}
	private String is_buy;
	
	public String getIs_buy() {
		return is_buy;
	}
	public void setIs_buy(String isBuy) {
		is_buy = isBuy;
	}
	private String payTip;
	private String buyTip;
	
	public String getPayTip() {
		return payTip;
	}
	public void setPayTip(String payTip) {
		this.payTip = payTip;
	}
	public String getBuyTip() {
		return buyTip;
	}
	public void setBuyTip(String buyTip) {
		this.buyTip = buyTip;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getEditId() {
		return editId;
	}
	public void setEditId(String editId) {
		this.editId = editId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getOrder_sn() {
		return order_sn;
	}
	public void setOrder_sn(String orderSn) {
		order_sn = orderSn;
	}
	public String getTuan_site() {
		return tuan_site;
	}
	public void setTuan_site(String tuanSite) {
		tuan_site = tuanSite;
	}
	public String getBuy_time() {
		return buy_time;
	}
	public void setBuy_time(String buyTime) {
		buy_time = buyTime;
	}
	public String getPay_status() {
		return pay_status;
	}
	public void setPay_status(String payStatus) {
		pay_status = payStatus;
	}
	public String getExpire_time() {
		return expire_time;
	}
	public void setExpire_time(String expireTime) {
		expire_time = expireTime;
	}
	public String getTuan_title() {
		return tuan_title;
	}
	public void setTuan_title(String tuanTitle) {
		tuan_title = tuanTitle;
	}

	public Order(String id, String orderSn, String tuanSite, String buyTime, String payStatus, String total_price, String expireTime,
			String tuanTitle, String address, String image, String is_buy, String tuan_id, String quantity, String price, int cpsState,
			String code_sn, String code_status, String code_money, String code_errmsg, int buy_start_time, int buy_end_time) {
		super();
		this.id = id;
		this.order_sn = orderSn;
		this.tuan_site = tuanSite;
		this.buy_time = buyTime;
		this.pay_status = payStatus;
		this.total_price = total_price;
		this.expire_time = expireTime;
		this.tuan_title = tuanTitle;
		this.address = address;
		this.image = image;
		this.is_buy = is_buy;
		this.tuan_id = tuan_id;
		this.quantity = quantity;
		this.price = price;
		this.cpsState = cpsState;
		this.code_sn = code_sn;
		this.code_status = code_status;
		this.code_money = code_money;
		this.code_errmsg = code_errmsg;
		this.buy_start_time = buy_start_time;
		this.buy_end_time = buy_end_time;
	}
	public Order() {
		super();
	}
	public Order(String id ,String name, String address, String mobile ,String payTip,String buyTip) {
		super();
		this.id = id;
		this.name = name;
		this.address = address;
		this.mobile = mobile;
		
		this.payTip = payTip;
		this.buyTip = buyTip;
	}
	public Order(String id , String mobile) {
		super();
		this.id = id;
		this.mobile = mobile;
	}
	@Override
	public String toString() {
		return "Order [address=" + address + ", buyTip=" + buyTip
				+ ", buy_time=" + buy_time + ", editId=" + editId
				+ ", expire_time=" + expire_time + ", id=" + id + ", image="
				+ image + ", mobile=" + mobile + ", name=" + name
				+ ", order_sn=" + order_sn + ", payTip=" + payTip
				+ ", pay_status=" + pay_status + ", total_price=" + total_price
				+ ", tuan_site=" + tuan_site + ", tuan_title=" + tuan_title +", quantity=" + quantity
				+ "]";
	}

}
